package com.sys.service;
import com.dto.sys.EmployeeDto;
import com.utils.result.Ret;

/**
 * @author xufan
 */
public interface EmployeeService {
    /**
     * @author: xufan
     * @Date: 2021/7/20
     * @Description: 分页获取员工列表
     */
    Ret listPageEmployee(EmployeeDto employeeDto);

    /**
     * @author: xufan
     * @Date: 2021/7/20
     * @Description: 根据员工id查询员工信息
     */
    Ret getEmployeeById(EmployeeDto employeeDto);

    /**
     * @author: xufan
     * @Date: 2021/7/23
     * @Description: 添加员工
     */
    Ret saveEmployee(EmployeeDto employeeDto);
}
